Skip to content

IMP(18.0) product_dimension: Add digits to dimensions#2162

Open
RabbitJon-S73 wants to merge 1 commit intoOCA:18.0from
Studio73:18.0-imp-product_dimension
Open

IMP(18.0) product_dimension: Add digits to dimensions#2162
RabbitJon-S73 wants to merge 1 commit intoOCA:18.0from
Studio73:18.0-imp-product_dimension

Conversation

@RabbitJon-S73
Copy link
Copy Markdown
Contributor

Problem:
Currently, product dimension fields (length, width, height) are forced to use the default database precision (2 decimals). This is inflexible for certain units of measure.

Example:
When working with meters, 2 decimals are insufficient to represent millimeters:

  • Current: 0.01 m (1 cm) -> cannot express millimeters.
  • Required: 0.001 m (1 mm).

Solution:
This PR updates the dimension fields to use the Product Unit of Measure digits. This allows users to use decimals with more coherence between the units they use

@RabbitJon-S73
Copy link
Copy Markdown
Contributor Author

Hi @rvalyi ! Could you give me some feedback about this change?

@RabbitJon-S73
Copy link
Copy Markdown
Contributor Author

Hi @rousseldenis ! Could you evaluate this change?

Copy link
Copy Markdown
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants